package cn.meizhu.org.domain;


import cn.meizhu.base.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    private String name;
    private String tel;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registerTime = new Date();
    private String state;
    private String address;
    private String logo;
    private Employee admin;
    private Long admin_id;
}
